Generate Levenshtein Distance (Operator Toolbox)
Synopsis
This operator generates the Levenshtein distance between two nominal attributes. The Levenshtein distance is calculated as the number of changes needed to convert one string into the other. A common use case for using this metric is spell checking.Input
- exa (Data Table)
The input ExampleSet
Output
- out (Data Table)
The resulting ExampleSet with the new distance.
- ori (Data Table)
The original ExampleSet.
Parameters
- first_attribute_for_distance_calculation The first attribute for distance calculation. Range:
- second_attribute_for_distance_calculation The second attribute for distance calculation. Range:
Tutorial Processes
Generate Levenshtein Distance
This process creates example data and applies the Levenshtein distance on it.